<template>
    <div class="mainLogon">
        <div class='btns'>
            <van-button type="primary" @click="toGovLogon">监管机构注册</van-button>
        </div>
       <div class='btns'>
            <van-button type="primary">商户注册</van-button>
        </div>
        <div class='btns'>
            <van-button type="primary" >检测机构注册</van-button>
        </div>
        <div class='btns'>
            <van-button type="primary">消费者注册</van-button>
        </div>
        <div class='btns'>
            <van-button type="primary">管理员注册</van-button>
        </div>
        <div class='btns'>
            <van-button type="primary" @click="toNorLogon">普通人员注册</van-button>
        </div>
       <div class='btns'>
            <van-button type="primary" @click="toNotfonud">暂无数据</van-button>
        </div>
    </div>
</template>

<script>

import { 
    Button
    ,NavBar
    ,Icon
    ,PullRefresh 
    ,List
    ,SwipeCell
    ,Collapse
    , CollapseItem
    ,Divider
    ,Panel
    ,DropdownMenu
    , DropdownItem
    ,Search
    ,Dialog
    } from 'vant';
export default {
    name: 'index',
    components: {
        [NavBar.name]:NavBar,
        [Button.name]:Button,
        [Icon.name]:Icon,
        [PullRefresh.name]:PullRefresh,
        [List.name]:List,
        [SwipeCell.name]:SwipeCell,
        [Collapse.name]:Collapse,
        [CollapseItem.name]:CollapseItem,
        [Divider.name]:Divider,
        [Panel.name]:Panel,
        [DropdownMenu.name]:DropdownMenu,
        [DropdownItem.name]:DropdownItem,
        [Search.name]:Search,
        [Dialog.name]:Dialog,
    },
    data () {
        return {
     
        }
    },
    created() {
        //this.getDataInfo()
    },
    methods:{
        toGovLogon(){
            this.$router.push({path: '/govLogon'});
        },
        toNorLogon(){
            this.$router.push({path: '/normalLogon'});
        },
        toNotfonud(){
            this.$router.push({path: '/publicNotFound'});
        }
    }

}
</script>
<style >
.mainLogon .btns{
    margin-top:40px;
}
.mainLogon .btns button{
    width: 40%;
}
</style>
